home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
dviware
/
dvitops
/
makefile.dist
< prev
next >
Wrap
Makefile
|
1991-01-25
|
2KB
|
79 lines
# $Header: /usr/jjc/dvitops/RCS/Makefile,v 1.13 90/08/14 13:26:13 jjc Rel $
BINDIR=/usr/local/bin
INPUTDIR=/usr/local/tex/inputs
FONTDIR=/usr/local/tex/fonts
MANDIR=/usr/local/man/man1
MANEXT=1
PSFONTDIR=/usr/local/psfonts
CFLAGS=-g
CC=cc
LIBS=-lm
COMPRESSFLAGS=
OBJECTS=main.o code.o read.o special.o pk.o font.o dvi.o util.o getopt.o tpic.o
SOURCES=main.c code.c read.c special.c pk.c font.c dvi.c util.c \
getopt.c tpic.c dvitops.h util.h config.h \
msdos.h unix.h primos.h vms.h cms.h
INPUTS=dvitops.pro dvitops.fnt ps.sty pspict.ps
TFMS=timessl.tfm timessc.tfm timesex.tfm symbolsl.tfm
FONTS=psfonts.map timessc.ps timessl.ps timesex.ps symbolsl.ps
FILES=README INSTALL config.doc dvitops.1 aftopl.1 psfont.1 dvitops.tex \
picture.ps timessc.afm timessl.afm timessc.ps timessl.ps timesex.ps \
timesex.pl symbolsl.ps symbolsl.afm ps.sty printafm.ps tex.enc \
Makefile makefile.ms dvitops.pro dvitops.fnt psfonts.map \
unix.h primos.h msdos.h vms.h cms.h \
dvitops.h util.h main.c font.c dvi.c pk.c special.c tpic.c util.c getopt.c \
read.c code.c aftopl.c psfont.c pfbtops.c pspict.sty pspict.ps
all : dvitops psfont aftopl pfbtops
dvitops : $(OBJECTS)
$(CC) $(CFLAGS) -o dvitops $(OBJECTS) $(LIBS)
psfont : psfont.o util.o
$(CC) $(CFLAGS) -o psfont psfont.o util.o
aftopl : aftopl.o util.o
$(CC) $(CFLAGS) -o aftopl aftopl.o util.o -lm
pfbtops : pfbtops.o util.o
$(CC) $(CFLAGS) -o pfbtops pfbtops.o util.o -lm
psfont.o aftopl.o pfbtops.o : util.h config.h
$(OBJECTS) : dvitops.h util.h config.h
.SUFFIXES: .pl .tfm .afm
.pl.tfm :
pltotf $< $@
.afm.pl :
aftopl $<
timessl.tfm : timessl.pl
timessc.tfm : timessc.pl
timesex.tfm : timesex.pl
symbolsl.tfm : symbolsl.pl
timessl.pl timessc.pl symbolsl.pl : aftopl
clean:
-rm -f *.o *~ dvitops psfont aftopl pfbtops core dvitops.log \
TAGS dvitops.tar.Z *.tfm symbolsl.pl timessl.pl timessc.pl
install: all $(TFMS) $(FILES)
cp dvitops psfont aftopl pfbtops $(BINDIR)
cp $(FONTS) $(PSFONTDIR)
cp $(INPUTS) $(INPUTDIR)
cp $(TFMS) $(FONTDIR)
cp aftopl.1 $(MANDIR)/aftopl.$(MANEXT)
cp psfont.1 $(MANDIR)/psfont.$(MANEXT)
cp dvitops.1 $(MANDIR)/dvitops.$(MANEXT)
TAGS: $(SOURCES)
etags $(SOURCES)
dvitops.tar.Z : $(FILES)
tar cf - $(FILES) | compress $(COMPRESSFLAGS) >$@